package ycl.common.models.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 短信请求
 *
 * @author ycl
 * @date 2022/6/25 0025 22:19:04
 */
@Data
@ApiModel("短信")
public class SmsReq {

	@ApiModelProperty(value = "接收短信的手机号, 暂时先发到邮箱上, 但用户的手机号也要传过来",required = true)
	@NotBlank(message = "请输入手机号")
	private String mobile;

	@ApiModelProperty("接收短信的邮箱")
	@NotBlank(message = "请输入邮箱")
	private String email;
}
